import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/component/common_ts_ets_api.d.ts',
  content: "/*\n * Copyright (c) 2022-2023 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ArkUI\n */\n/**\n * AppStorage singleton is sub-class of see LocalStorage for\n * UI state of app-wide access and same life cycle as the app.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * AppStorage singleton is sub-class of see LocalStorage for\n * UI state of app-wide access and same life cycle as the app.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * AppStorage singleton is sub-class of see LocalStorage for\n * UI state of app-wide access and same life cycle as the app.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class AppStorage {\n    /**\n     * Obtain a handler or an alias to AppStorage property with given name.\n     *\n     * @param { string } propName AppStorage property name\n     * @returns { AbstractProperty<T> | undefined } AbstractProperty object if property with given name exists\n     * return undefined otherwise\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    static ref<T>(propName: string): AbstractProperty<T> | undefined;\n    /**\n     * Obtain a handler or an alias to AppStorage property with given name.\n     *\n     * If property does not exist in AppStorage, create it with given default value.\n     *\n     * @param { string } propName AppStorage property name\n     * @param { T } defaultValue If property does not exist in AppStorage,\n     *        create it with given default value.\n     * @returns { AbstractProperty<T> } AbstractProperty object\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    static setAndRef<T>(propName: string, defaultValue: T): AbstractProperty<T>;\n    /**\n     * Called when a link is set.\n     * Create and return a two-way sync (\"link\") to named property\n     *\n     * @param { string } propName\n     * @returns { any }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#link\n     */\n    static Link(propName: string): any;\n    /**\n     * Create and return a two-way sync (\"link\") to named property\n     * Same as @see LocalStorage.link()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @returns { SubscribedAbstractProperty<T> } instance of SubscribedAbstractProperty<T>\n     *           return 'undefined' if named property does not already exist in AppStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Create and return a two-way sync (\"link\") to named property\n     * Same as @see LocalStorage.link()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @returns { SubscribedAbstractProperty<T> } instance of SubscribedAbstractProperty<T>\n     *           return 'undefined' if named property does not already exist in AppStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static link<T>(propName: string): SubscribedAbstractProperty<T>;\n    /**\n     * Like see @Link(), but will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndLink()\n     *\n     * @param { string } propName\n     * @param { T } defaultValue\n     * @returns { SubscribedAbstractProperty<T> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#setAndLink\n     * @see setAndLink\n     */\n    static SetAndLink<T>(propName: string, defaultValue: T): SubscribedAbstractProperty<T>;\n    /**\n     * Like see @link(), but will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndLink()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @param { T } defaultValue - value to be used for initializing if new creating new property in AppStorage\n     *        default value must be of type T, must not be 'undefined' or 'null'.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Like see @link(), but will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndLink()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @param { T } defaultValue - value to be used for initializing if new creating new property in AppStorage\n     *        default value must be of type T, must not be 'undefined' or 'null'.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Like see @link(), but will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndLink()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @param { T } defaultValue - value to be used for initializing new property in AppStorage\n     *        default value must be of type T, can be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    static setAndLink<T>(propName: string, defaultValue: T): SubscribedAbstractProperty<T>;\n    /**\n     * Called when a property is set.\n     * Create and return a one-way sync ('prop') to named property\n     *\n     * @param { string } propName\n     * @returns { any }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#prop\n     */\n    static Prop(propName: string): any;\n    /**\n     * Create and return a one-way sync ('prop') to named property\n     * Same as @see LocalStorage.prop()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not already exist in AppStorage.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Create and return a one-way sync ('prop') to named property\n     * Same as @see LocalStorage.prop()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not already exist in AppStorage.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static prop<T>(propName: string): SubscribedAbstractProperty<T>;\n    /**\n     * Like see Prop(), will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndProp()\n     *\n     * @param { string } propName\n     * @param { S } defaultValue\n     * @returns { SubscribedAbstractProperty<S> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#setAndProp\n     * @see setAndProp\n     */\n    static SetAndProp<S>(propName: string, defaultValue: S): SubscribedAbstractProperty<S>;\n    /**\n     *\n     * Like @see prop(), will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndProp()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @param { T } defaultValue - value to be used for initializing if new creating new property in AppStorage.\n     *        default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not already exist in AppStorage.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     *\n     * Like @see prop(), will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndProp()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @param { T } defaultValue - value to be used for initializing if new creating new property in AppStorage.\n     *        default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not already exist in AppStorage.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     *\n     * Like @see prop(), will create and initialize a new source property in AppStorage if missing\n     * Same as see LocalStorage.setAndProp()\n     *\n     * @param { string } propName - name of source property in AppStorage\n     * @param { T } defaultValue - value to be used for initializing new property in AppStorage.\n     *        default value must be of type T, can be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not exist in AppStorage.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    static setAndProp<T>(propName: string, defaultValue: T): SubscribedAbstractProperty<T>;\n    /**\n     * Checks if AppStorage has a property with given name\n     * returns true if property with given name exists\n     * same as ES6 Map.prototype.has()\n     * Same as see LocalStorage.has()\n     *\n     * @param { string } propName\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#has\n     * @see has\n     */\n    static Has(propName: string): boolean;\n    /**\n     * Checks if AppStorage has a property with given name\n     * returns true if property with given name exists\n     * same as ES6 Map.prototype.has()\n     * Same as see LocalStorage.has()\n     *\n     * @param { string } propName - searched property\n     * @returns { boolean } true if property with such name exists in AppStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Checks if AppStorage has a property with given name\n     * returns true if property with given name exists\n     * same as ES6 Map.prototype.has()\n     * Same as see LocalStorage.has()\n     *\n     * @param { string } propName - searched property\n     * @returns { boolean } true if property with such name exists in AppStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static has(propName: string): boolean;\n    /**\n     * Same as see LocalStorage.get()\n     * Obtain the value of property with given name, returns undefined if the property does not exist in AppStorage.\n     * @param { string } propName\n     * @returns { T | undefined }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#get\n     * @see get\n     */\n    static Get<T>(propName: string): T | undefined;\n    /**\n     * Same as see LocalStorage.get()\n     * Obtain the value of property with given name, returns undefined if the property does not exist in AppStorage.\n     *\n     * @param { string } propName\n     * @returns { T | undefined } property value of type T if found or undefined\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Same as see LocalStorage.get()\n     * Obtain the value of property with given name, returns undefined if the property does not exist in AppStorage.\n     *\n     * @param { string } propName\n     * @returns { T | undefined } property value of type T if found or undefined\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static get<T>(propName: string): T | undefined;\n    /**\n     * Set value of given property in AppStorage\n     * Method sets nothing and returns false if property with this name does not exist\n     * or if newValue is `undefined` or `null`.\n     * Same as see LocalStorage.set()\n     *\n     * @param { string } propName\n     * @param { T } newValue\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#set\n     * @see set\n     */\n    static Set<T>(propName: string, newValue: T): boolean;\n    /**\n     * Set value of given property in AppStorage\n     * Method sets nothing and returns false if property with this name does not exist\n     * or if newValue is `undefined` or `null`.\n     * Same as see LocalStorage.set()\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Set value of given property in AppStorage\n     * Method sets nothing and returns false if property with this name does not exist\n     * or if newValue is `undefined` or `null`.\n     * Same as see LocalStorage.set()\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Set value of given property in AppStorage\n     * Method sets nothing and returns false if property with this name does not exist in AppStorage\n     * newValue can be undefined or null from API 12.\n     * Same as see LocalStorage.set()\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T, can be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    static set<T>(propName: string, newValue: T): boolean;\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name in AppStorage,. yet, and initialize with given value.\n     * Do nothing if newValue is undefined or null\n     * see LocalStorage.setOrCreate()\n     *\n     * @param { string } propName\n     * @param { T } newValue\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#setOrCreate\n     * @see setOrCreate\n     */\n    static SetOrCreate<T>(propName: string, newValue: T): void;\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name in AppStorage,. yet, and initialize with given value.\n     * Do nothing if newValue is undefined or null\n     * see LocalStorage.setOrCreate()\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name in AppStorage,. yet, and initialize with given value.\n     * Do nothing if newValue is undefined or null\n     * see LocalStorage.setOrCreate()\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name in AppStorage, and initialize with given value.\n     * newValue can be undefined or null from API 12\n     * see LocalStorage.setOrCreate()\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T, can be undefined or null\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    static setOrCreate<T>(propName: string, newValue: T): void;\n    /**\n     * Delete property with given name from AppStorage\n     * Use with caution:\n     * Before deleting a prop from AppStorage all its subscribers need to\n     * unsubscribe from the property.\n     * This method fails and returns false if given property still has subscribers\n     * Another reason for failing is unknown property name.\n     * Developer advise:\n     * Subscribers to a property in AppStorage are created with see link(), see prop()\n     * and also via @StorageLink and @StorageProp state variable decorators.\n     * That means as long as their is a @Component instance that uses such decorated variable\n     * or a sync relationship with a SubscribedAbstractProperty variable the property can not\n     * (and also should not!) be deleted from AppStorage.\n     * Same as see LocalStorage.delete()\n     *\n     * @param { string } propName\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#delete\n     * @see delete\n     */\n    static Delete(propName: string): boolean;\n    /**\n     * Delete property with given name from AppStorage\n     * Use with caution:\n     * Before deleting a prop from AppStorage all its subscribers need to\n     * unsubscribe from the property.\n     * This method fails and returns false if given property still has subscribers\n     * Another reason for failing is unknown property name.\n     * Developer advise:\n     * Subscribers to a property in AppStorage are created with see link(), see prop()\n     * and also via @StorageLink and @StorageProp state variable decorators.\n     * That means as long as their is a @Component instance that uses such decorated variable\n     * or a sync relationship with a SubscribedAbstractProperty variable the property can not\n     * (and also should not!) be deleted from AppStorage.\n     * Same as see LocalStorage.delete()\n     *\n     * @param { string } propName\n     * @returns { boolean } false if method failed\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Delete property with given name from AppStorage\n     * Use with caution:\n     * Before deleting a prop from AppStorage all its subscribers need to\n     * unsubscribe from the property.\n     * This method fails and returns false if given property still has subscribers\n     * Another reason for failing is unknown property name.\n     * Developer advise:\n     * Subscribers to a property in AppStorage are created with see link(), see prop()\n     * and also via @StorageLink and @StorageProp state variable decorators.\n     * That means as long as their is a @Component instance that uses such decorated variable\n     * or a sync relationship with a SubscribedAbstractProperty variable the property can not\n     * (and also should not!) be deleted from AppStorage.\n     * Same as see LocalStorage.delete()\n     *\n     * @param { string } propName\n     * @returns { boolean } false if method failed\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static delete(propName: string): boolean;\n    /**\n     * Provide names of all properties in AppStorage\n     * same as ES6 Map.prototype.keys()\n     * Same as see LocalStorage.keys()\n     *\n     * @returns { IterableIterator<string> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#keys\n     * @see keys\n     */\n    static Keys(): IterableIterator<string>;\n    /**\n     * Provide names of all properties in AppStorage\n     * same as ES6 Map.prototype.keys()\n     * Same as see LocalStorage.keys()\n     *\n     * @returns { IterableIterator<string> } return a Map Iterator\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Provide names of all properties in AppStorage\n     * same as ES6 Map.prototype.keys()\n     * Same as see LocalStorage.keys()\n     *\n     * @returns { IterableIterator<string> } return a Map Iterator\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static keys(): IterableIterator<string>;\n    /**\n     * Called when a cleanup occurs.\n     *\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 9\n     * @useinstead AppStorage.Clear\n     */\n    static staticClear(): boolean;\n    /**\n     * Delete all properties from the AppStorage.\n     * Precondition is that there are no subscribers, see Delete().\n     *\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     * @deprecated since 10\n     * @useinstead AppStorage#clear\n     * @see clear\n     */\n    static Clear(): boolean;\n    /**\n     * Delete all properties from the AppStorage.\n     * Precondition is that there are no subscribers, see Delete().\n     *\n     * @returns { boolean } false and deletes no properties if there is any property\n     * that still has subscribers.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Delete all properties from the AppStorage.\n     * Precondition is that there are no subscribers, see Delete().\n     *\n     * @returns { boolean } false and deletes no properties if there is any property\n     * that still has subscribers.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static clear(): boolean;\n    /**\n     * Called when the data can be changed.\n     *\n     * @param { string } propName\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     */\n    static IsMutable(propName: string): boolean;\n    /**\n     * Method returns the number of properties currently in AppStorage\n     *\n     * @returns { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead AppStorage#size\n     * @see size\n     */\n    static Size(): number;\n    /**\n     * Method returns the number of properties currently in AppStorage\n     *\n     * @returns { number } Returns the number of properties currently in AppStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Method returns the number of properties currently in AppStorage\n     *\n     * @returns { number } Returns the number of properties currently in AppStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static size(): number;\n}\n/**\n *\n *  AbstractProperty can be understood as a handler or an alias\n *  to a property inside LocalStorage / AppStorage singleton\n *  allows to read the value with @see get and to change the\n *  value with @see set.\n *\n * Functions\n *   reads the referenced AppStorage/LocalStorage property value with given name @see get()\n *   write a new value to the AppStorage/LocalStorage property value @see set()\n *   returns the referenced AppStorage/LocalStorage property name @see info()\n *\n * Use ref or setAndRef to obtain a AbstractProperty.\n *\n * @interface AbstractProperty<T>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface AbstractProperty<T> {\n    /**\n    * reads value of the referenced AppStorage/LocalStorage property.\n    *\n    * @returns { T } value of the referenced AppStorage/LocalStorage property.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 12\n    */\n    get(): T;\n    /**\n     * Set new value, must be of type T, can be 'undefined' or 'null'.\n     * Updates the value of the referenced AppStorage/LocalStorage property.\n     *\n     * @param { T } newValue new value set to AppStorage/LocalStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    set(newValue: T): void;\n    /**\n     * returns the name of the referenced property\n     *\n     * @returns { string } name of the referenced property\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    info(): string;\n}\n\n/**\n *   SubscribedAbstractProperty<T> is the return value of\n *   - AppStorage static functions Link(), Prop(), SetAndLink(), and SetAndProp()\n *   - LocalStorage member methods link(), prop(), setAndLink(), and setAndProp()\n *   'T' can be boolean, string, number or custom class.\n * Main functions\n *   see get() reads the linked AppStorage/LocalStorage property value,\n *   see set(newValue) write a new value to the synched AppStorage/LocalStorage property\n *   see aboutToBeDeleted() ends the sync relationship with the AppStorage/LocalStorage property\n *        The app must call this function before the SubscribedAbstractProperty<T> object\n *        goes out of scope.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @form\n * @since 9\n */\n/**\n *   SubscribedAbstractProperty<T> is the return value of\n *   - AppStorage static functions Link(), Prop(), SetAndLink(), and SetAndProp()\n *   - LocalStorage member methods link(), prop(), setAndLink(), and setAndProp()\n *   'T' can be boolean, string, number or custom class.\n * Main functions\n *   see get() reads the linked AppStorage/LocalStorage property value,\n *   see set(newValue) write a new value to the synched AppStorage/LocalStorage property\n *   see aboutToBeDeleted() ends the sync relationship with the AppStorage/LocalStorage property\n *        The app must call this function before the SubscribedAbstractProperty<T> object\n *        goes out of scope.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n *   SubscribedAbstractProperty<T> is the return value of\n *   - AppStorage static functions Link(), Prop(), SetAndLink(), and SetAndProp()\n *   - LocalStorage member methods link(), prop(), setAndLink(), and setAndProp()\n *   'T' can be boolean, string, number or custom class.\n * Main functions\n *   see get() reads the linked AppStorage/LocalStorage property value,\n *   see set(newValue) write a new value to the synched AppStorage/LocalStorage property\n *   see aboutToBeDeleted() ends the sync relationship with the AppStorage/LocalStorage property\n *        The app must call this function before the SubscribedAbstractProperty<T> object\n *        goes out of scope.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare abstract class SubscribedAbstractProperty<T> {\n    /**\n     * Returns the property name,\n     * e.g. let link = AppStorage.Link(\"foo\") then link.info() == \"foo\"\n     *\n     * @returns { string } the property name if set or undefined\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Returns the property name,\n     * e.g. let link = AppStorage.Link(\"foo\") then link.info() == \"foo\"\n     *\n     * @returns { string } the property name if set or undefined\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    info(): string;\n    /**\n     * Reads value of the sync'ed AppStorage/LocalStorage property.\n     * `let link : SubscribedAbstractProperty<string> =AppStorage.Link<string>(\"foo\")`\n     * then `link.get()` returns the value of \"foo\" property in AppStorage.\n     *\n     * @returns { T } the value of the sync'ed AppStorage/LocalStorage property.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Reads value of the sync'ed AppStorage/LocalStorage property.\n     * `let link : SubscribedAbstractProperty<string> =AppStorage.Link<string>(\"foo\")`\n     * then `link.get()` returns the value of \"foo\" property in AppStorage.\n     *\n     * @returns { T } the value of the sync'ed AppStorage/LocalStorage property.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Reads value of the sync'ed AppStorage/LocalStorage property.\n     * `let link : SubscribedAbstractProperty<string> =AppStorage.Link<string>(\"foo\")`\n     * then `link.get()` returns the value of \"foo\" property in AppStorage.\n     *\n     * @returns { T } the value of the sync'ed AppStorage/LocalStorage property.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    abstract get(): T;\n    /**\n     * Updates the value of value of the sync'ed AppStorage/LocalStorage property.\n     * Sets new value, must be of type T, and must not be 'undefined' or 'null'.\n     * `let link : SubscribedAbstractProperty<string> =AppStorage.Link<string>(\"foo\")`\n     * then `link.set(\"Hello\")` will set the value of \"foo\" property in AppStorage.\n     *\n     * @param { T } newValue\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Updates the value of value of the sync'ed AppStorage/LocalStorage property.\n     * Sets new value, must be of type T, and must not be 'undefined' or 'null'.\n     * `let link : SubscribedAbstractProperty<string> =AppStorage.Link<string>(\"foo\")`\n     * then `link.set(\"Hello\")` will set the value of \"foo\" property in AppStorage.\n     *\n     * @param { T } newValue\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Updates the value of value of the sync'ed AppStorage/LocalStorage property.\n     * Sets new value, must be of type T, and must not be 'undefined' or 'null'.\n     * `let link : SubscribedAbstractProperty<string> =AppStorage.Link<string>(\"foo\")`\n     * then `link.set(\"Hello\")` will set the value of \"foo\" property in AppStorage.\n     *\n     * @param { T } newValue\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Updates the value of value of the sync'ed AppStorage/LocalStorage property.\n     * Sets new value, must be of type T, can be undefined or null.\n     * `let link : SubscribedAbstractProperty<string> =AppStorage.Link<string>(\"foo\")`\n     * then `link.set(\"Hello\")` will set the value of \"foo\" property in AppStorage.\n     *\n     * @param { T } newValue\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    abstract set(newValue: T): void;\n    /**\n     * An app needs to call this function before the instance of SubscribedAbstractProperty\n     * goes out of scope / is subject to garbage collection. Its purpose is to unregister the\n     * variable from the two-way/one-way sync relationship that AppStorage/LocalStorage.link()/prop()\n     * and related functions create.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * An app needs to call this function before the instance of SubscribedAbstractProperty\n     * goes out of scope / is subject to garbage collection. Its purpose is to unregister the\n     * variable from the two-way/one-way sync relationship that AppStorage/LocalStorage.link()/prop()\n     * and related functions create.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    abstract aboutToBeDeleted(): void;\n}\n/**\n * EnvProps object\n *\n * @interface EnvPropsOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * EnvProps object\n *\n * @interface EnvPropsOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface EnvPropsOptions {\n    /**\n     * Property name of Environment variable\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Property name of Environment variable\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    key: string;\n    /**\n     * DefaultValue is the default value if cannot get the environment property value\n     *\n     * @type { number | string | boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * DefaultValue is the default value if cannot get the environment property value\n     *\n     * @type { number | string | boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    defaultValue: number | string | boolean;\n}\n/**\n * Defines the Environment interface.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines the Environment interface.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the Environment interface.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class Environment {\n    /**\n     * Called when a property value is added to Environment.\n     *\n     * @param { string } key\n     * @param { S } value\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead Environment#envProp\n     */\n    static EnvProp<S>(key: string, value: S): boolean;\n    /**\n     * Creates a new property in AppStorage. The UI framework implementation takes care of updating\n     * its value whenever the named device environment property changes. Recommended use is at app startup.\n     * The function call fails and returns false if a property with given name exists in AppStorage already.\n     * It is wrong API use to access a property with given name in AppStorage before calling Environment.envProp.\n     *\n     * @param { string } key - environment property\n     * @param { S } value - is the default value if cannot get the environment property value\n     * @returns { boolean } false if method failed\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Creates a new property in AppStorage. The UI framework implementation takes care of updating\n     * its value whenever the named device environment property changes. Recommended use is at app startup.\n     * The function call fails and returns false if a property with given name exists in AppStorage already.\n     * It is wrong API use to access a property with given name in AppStorage before calling Environment.envProp.\n     *\n     * @param { string } key - environment property\n     * @param { S } value - is the default value if cannot get the environment property value\n     * @returns { boolean } false if method failed\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static envProp<S>(key: string, value: S): boolean;\n    /**\n     * Called when multiple property values are added to Environment.\n     *\n     * @param { {key: string;defaultValue: any;}[] } props\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead Environment#envProps\n     */\n    static EnvProps(props: {\n        key: string;\n        defaultValue: any;\n    }[]): void;\n    /**\n     * Called when multiple property values are added to Environment.\n     *\n     * @param { EnvPropsOptions[] } props\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when multiple property values are added to Environment.\n     *\n     * @param { EnvPropsOptions[] } props\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static envProps(props: EnvPropsOptions[]): void;\n    /**\n     * returns an Array<string> of all environment property keys\n     *\n     * @returns { Array<string> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead Environment#keys\n     */\n    static Keys(): Array<string>;\n    /**\n     * returns an Array<string> of all environment property keys\n     *\n     * @returns { Array<string> } all environment property keys\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * returns an Array<string> of all environment property keys\n     *\n     * @returns { Array<string> } all environment property keys\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static keys(): Array<string>;\n}\n/**\n * PersistProps object\n *\n * @interface PersistPropsOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * PersistProps object\n *\n * @interface PersistPropsOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface PersistPropsOptions {\n    /**\n     * Property name\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Property name\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    key: string;\n    /**\n     * If AppStorage does not include this property it will be initialized with this value\n     *\n     * @type { number | string | boolean | Object }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * If AppStorage does not include this property it will be initialized with this value\n     *\n     * @type { number | string | boolean | Object }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    defaultValue: number | string | boolean | Object;\n}\n/**\n * Defines the PersistentStorage interface.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines the PersistentStorage interface.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the PersistentStorage interface.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class PersistentStorage {\n    /**\n     * Called when a persistence property is stored.\n     *\n     * @param { string } key\n     * @param { T } defaultValue\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead PersistentStorage#persistProp\n     */\n    static PersistProp<T>(key: string, defaultValue: T): void;\n    /**\n     * Add property 'key' to AppStorage properties whose current value will be\n     * persistent.\n     * If AppStorage does not include this property it will be added and initializes\n     * with given value\n     *\n     * @param { string } key - property name\n     * @param { T } defaultValue - If AppStorage does not include this property it will be initialized with this value\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Add property 'key' to AppStorage properties whose current value will be\n     * persistent.\n     * If AppStorage does not include this property it will be added and initializes\n     * with given value\n     *\n     * @param { string } key - property name\n     * @param { T } defaultValue - If AppStorage does not include this property it will be initialized with this value\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static persistProp<T>(key: string, defaultValue: T): void;\n    /**\n     * Called when a property is deleted.\n     *\n     * @param { string } key\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead PersistentStorage#deleteProp\n     */\n    static DeleteProp(key: string): void;\n    /**\n     * Reverse of @see persistProp\n     *\n     * @param { string } key - no longer persist the property named key\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Reverse of @see persistProp\n     *\n     * @param { string } key - no longer persist the property named key\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static deleteProp(key: string): void;\n    /**\n     * Called when multiple persistence properties are stored.\n     *\n     * @param { {key: string;defaultValue: any;}[] } properties\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead PersistentStorage#PersistProps\n     */\n    static PersistProps(properties: {\n        key: string;\n        defaultValue: any;\n    }[]): void;\n    /**\n     * Persist given AppStorage properties with given names.\n     * If a property does not exist in AppStorage, add it and initialize it with given value\n     * works as @see persistProp for multiple properties.\n     *\n     * @param { PersistPropsOptions[] } props\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Persist given AppStorage properties with given names.\n     * If a property does not exist in AppStorage, add it and initialize it with given value\n     * works as @see persistProp for multiple properties.\n     *\n     * @param { PersistPropsOptions[] } props\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static persistProps(props: PersistPropsOptions[]): void;\n    /**\n     * Inform persisted AppStorage property names\n     * returns an Array<string> of persisted AppStorage property names\n     *\n     * @returns { Array<string> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     * @deprecated since 10\n     * @useinstead PersistentStorage#keys\n     */\n    static Keys(): Array<string>;\n    /**\n     * Inform persisted AppStorage property names\n     * returns an Array<string> of persisted AppStorage property names\n     *\n     * @returns { Array<string> } array of AppStorage keys\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Inform persisted AppStorage property names\n     *\n     * @returns { Array<string> } array of AppStorage keys\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    static keys(): Array<string>;\n}\n/**\n * LocalStorage\n * Class implements a Map of ObservableObjectBase UI state variables.\n * Instances can be created to manage UI state within a limited \"local\"\n * access, and life cycle as defined by the app.\n * AppStorage singleton is sub-class of LocalStorage for\n * UI state of app-wide access and same life cycle as the app.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @form\n * @since 9\n */\n/**\n * LocalStorage\n * Class implements a Map of ObservableObjectBase UI state variables.\n * Instances can be created to manage UI state within a limited \"local\"\n * access, and life cycle as defined by the app.\n * AppStorage singleton is sub-class of LocalStorage for\n * UI state of app-wide access and same life cycle as the app.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * LocalStorage\n * Class implements a Map of ObservableObjectBase UI state variables.\n * Instances can be created to manage UI state within a limited \"local\"\n * access, and life cycle as defined by the app.\n * AppStorage singleton is sub-class of LocalStorage for\n * UI state of app-wide access and same life cycle as the app.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare class LocalStorage {\n    /**\n     * Construct new instance of LocalStorage\n     * initialize with all properties and their values that Object.keys(params) returns\n     * Property values must not be undefined.\n     *\n     * @param { Object } [initializingProperties] - Object containing keys and values. see set() for valid values\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Construct new instance of LocalStorage\n     * initialize with all properties and their values that Object.keys(params) returns\n     * Property values must not be undefined.\n     *\n     * @param { Object } [initializingProperties] - Object containing keys and values. see set() for valid values\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Construct new instance of LocalStorage\n     * initialize with all properties and their values that Object.keys(params) returns\n     * Property values must not be undefined.\n     *\n     * @param { Object } [initializingProperties] - Object containing keys and values. see set() for valid values\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    constructor(initializingProperties?: Object);\n    /**\n     * Get current LocalStorage shared from stage.\n     *\n     * @returns { LocalStorage }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @StageModelOnly\n     * @form\n     * @since 9\n     * @deprecated since 10\n     * @useinstead LocalStorage#getShared\n     */\n    static GetShared(): LocalStorage;\n    /**\n     * Get current LocalStorage shared from stage.\n     *\n     * @returns { LocalStorage } instance\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @StageModelOnly\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Get current LocalStorage shared from stage.\n     *\n     * @returns { LocalStorage } instance\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @StageModelOnly\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     * @deprecated since 18\n     * @useinstead ohos.arkui.UIContext.UIContext#getSharedLocalStorage\n     */\n    static getShared(): LocalStorage;\n    /**\n    * Obtain a handler or an alias to LocalStorage property with given name.\n    *\n    * @param { string } propName LocalStorage property name\n    * @returns { AbstractProperty<T> | undefined } AbstractProperty object if property with given name exists\n    * return undefined otherwise.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 12\n    */\n    public ref<T>(propName: string): AbstractProperty<T> | undefined;\n    /**\n     * Obtain a handler or an alias to LocalStorage property with given name.\n     *\n     * If property does not exist in LocalStorage, create it with given default value.\n     *\n     * @param { string } propName LocalStorage property name\n     * @param { T } defaultValue If property does not exist in LocalStorage,\n     *        create it with given default value.\n     * @returns { AbstractProperty<T> } AbstractProperty object\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    public setAndRef<T>(propName: string, defaultValue: T): AbstractProperty<T>;\n    /**\n     * Check if LocalStorage has a property with given name\n     * return true if property with given name exists\n     * same as ES6 Map.prototype.has()\n     *\n     * @param { string } propName - searched property\n     * @returns { boolean } true if property with such name exists in LocalStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Check if LocalStorage has a property with given name\n     * return true if property with given name exists\n     * same as ES6 Map.prototype.has()\n     *\n     * @param { string } propName - searched property\n     * @returns { boolean } true if property with such name exists in LocalStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Check if LocalStorage has a property with given name\n     * return true if property with given name exists\n     * same as ES6 Map.prototype.has()\n     *\n     * @param { string } propName - searched property\n     * @returns { boolean } true if property with such name exists in LocalStorage\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    has(propName: string): boolean;\n    /**\n     * Provide names of all properties in LocalStorage\n     * same as ES6 Map.prototype.keys()\n     *\n     * @returns { IterableIterator<string> } return a Map Iterator\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Provide names of all properties in LocalStorage\n     * same as ES6 Map.prototype.keys()\n     *\n     * @returns { IterableIterator<string> } return a Map Iterator\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Provide names of all properties in LocalStorage\n     * same as ES6 Map.prototype.keys()\n     *\n     * @returns { IterableIterator<string> } return a Map Iterator\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    keys(): IterableIterator<string>;\n    /**\n     * Returns number of properties in LocalStorage\n     * same as Map.prototype.size()\n     *\n     * @returns { number } return number of properties\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Returns number of properties in LocalStorage\n     * same as Map.prototype.size()\n     *\n     * @returns { number } return number of properties\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Returns number of properties in LocalStorage\n     * same as Map.prototype.size()\n     *\n     * @returns { number } return number of properties\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    size(): number;\n    /**\n     * Returns value of given property\n     * return undefined if no property with this name\n     *\n     * @param { string } propName\n     * @returns { T | undefined } property value if found or undefined\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Returns value of given property\n     * return undefined if no property with this name\n     *\n     * @param { string } propName\n     * @returns { T | undefined } property value if found or undefined\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Returns value of given property\n     * return undefined if no property with this name\n     *\n     * @param { string } propName\n     * @returns { T | undefined } property value if found or undefined\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    get<T>(propName: string): T | undefined;\n    /**\n     * Set value of given property in LocalStorage\n     * Method sets nothing and returns false if property with this name does not exist\n     * or if newValue is `undefined` or `null` (`undefined`, `null` value are not allowed for state variables).\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Set value of given property in LocalStorage\n     * Method sets nothing and returns false if property with this name does not exist\n     * or if newValue is `undefined` or `null` (`undefined`, `null` value are not allowed for state variables).\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Set value of given property in LocalStorage\n     * Method sets nothing and returns false if property with this name does not exist\n     * or if newValue is `undefined` or `null` (`undefined`, `null` value are not allowed for state variables).\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Set value of given property in LocalStorage\n     * Method sets nothing and returns false if property with this name does not exist in LocalStorage\n     * newValue can be undefined or null from API 12.\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T, can be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    set<T>(propName: string, newValue: T): boolean;\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name and initialize with given value.\n     * Do nothing and return false if newValue is undefined or null\n     * (undefined, null value is not allowed for state variables)\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name and initialize with given value.\n     * Do nothing and return false if newValue is undefined or null\n     * (undefined, null value is not allowed for state variables)\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name and initialize with given value.\n     * Do nothing and return false if newValue is undefined or null\n     * (undefined, null value is not allowed for state variables)\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T and must not be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Set value of given property, if it exists, see set() .\n     * Add property if no property with given name and initialize with given value.\n     * newValue can be undefined or null from API 12\n     *\n     * @param { string } propName\n     * @param { T } newValue - must be of type T, can be undefined or null\n     * @returns { boolean } true on success, i.e. when above conditions are satisfied, otherwise false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    setOrCreate<T>(propName: string, newValue: T): boolean;\n    /**\n     * Create and return a two-way sync \"(link\") to named property\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not already exist in LocalStorage\n     *           Apps can use SDK functions of base class SubscribedPropertyAbstract<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Create and return a two-way sync \"(link\") to named property\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not already exist in LocalStorage\n     *           Apps can use SDK functions of base class SubscribedPropertyAbstract<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Create and return a two-way sync \"(link\") to named property\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *           return undefined if named property does not already exist in LocalStorage\n     *           Apps can use SDK functions of base class SubscribedPropertyAbstract<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    link<T>(propName: string): SubscribedAbstractProperty<T>;\n    /**\n     * Like see link(), but will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { T } defaultValue - value to be used for initializing if new creating new property in LocalStorage\n     *        default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *          Apps can use SDK functions of base class SubscribedAbstractProperty<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Like see link(), but will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { T } defaultValue - value to be used for initializing if new creating new property in LocalStorage\n     *        default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *          Apps can use SDK functions of base class SubscribedAbstractProperty<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Like see link(), but will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { T } defaultValue - value to be used for initializing if new creating new property in LocalStorage\n     *        default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *          Apps can use SDK functions of base class SubscribedAbstractProperty<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Like see link(), but will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { T } defaultValue - value to be used for initializing new property in LocalStorage\n     *        default value must be of type T, can be undefined or null.\n     * @returns { SubscribedAbstractProperty<T> } instance of  SubscribedAbstractProperty<T>\n     *          Apps can use SDK functions of base class SubscribedAbstractProperty<T>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    setAndLink<T>(propName: string, defaultValue: T): SubscribedAbstractProperty<T>;\n    /**\n     * Create and return a one-way sync ('prop') to named property\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @returns { SubscribedAbstractProperty<S> } instance of  SubscribedAbstractProperty<S>\n     *           return undefined if named property does not already exist in LocalStorage\n     *           Apps can use SDK functions of base class SubscribedAbstractProperty<S>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Create and return a one-way sync ('prop') to named property\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @returns { SubscribedAbstractProperty<S> } instance of  SubscribedAbstractProperty<S>\n     *           return undefined if named property does not already exist in LocalStorage\n     *           Apps can use SDK functions of base class SubscribedAbstractProperty<S>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Create and return a one-way sync ('prop') to named property\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @returns { SubscribedAbstractProperty<S> } instance of  SubscribedAbstractProperty<S>\n     *           return undefined if named property does not already exist in LocalStorage\n     *           Apps can use SDK functions of base class SubscribedAbstractProperty<S>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    prop<S>(propName: string): SubscribedAbstractProperty<S>;\n    /**\n     * Like see prop(), will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { S } defaultValue - value to be used for initializing if new creating new property in LocalStorage.\n     *         Default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<S> } instance of  SubscribedAbstractProperty<S>\n     *           Apps can use SDK functions of base class SubscribedAbstractProperty<S>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Like see prop(), will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { S } defaultValue - value to be used for initializing if new creating new property in LocalStorage.\n     *         Default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<S> } instance of  SubscribedAbstractProperty<S>\n     *           Apps can use SDK functions of base class SubscribedAbstractProperty<S>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Like see prop(), will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { S } defaultValue - value to be used for initializing if new creating new property in LocalStorage.\n     *         Default value must be of type T, must not be undefined or null.\n     * @returns { SubscribedAbstractProperty<S> } instance of  SubscribedAbstractProperty<S>\n     *           Apps can use SDK functions of base class SubscribedAbstractProperty<S>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Like see prop(), will create and initialize a new source property in LocalStorage if missing\n     *\n     * @param { string } propName - name of source property in LocalStorage\n     * @param { S } defaultValue - value to be used for initializing new property in LocalStorage.\n     *         Default value must be of type T, can be undefined or null.\n     * @returns { SubscribedAbstractProperty<S> } instance of  SubscribedAbstractProperty<S>\n     *           Apps can use SDK functions of base class SubscribedAbstractProperty<S>\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    setAndProp<S>(propName: string, defaultValue: S): SubscribedAbstractProperty<S>;\n    /**\n     * Delete property from StorageBase\n     * Use with caution:\n     * Before deleting a prop from LocalStorage all its subscribers need to\n     * unsubscribe from the property.\n     * This method fails and returns false if given property still has subscribers\n     * Another reason for failing is unknown property.\n     * Developer advise:\n     * Subscribers are created with see link(), see prop()\n     * and also via @LocalStorageLink and @LocalStorageProp state variable decorators.\n     * That means as long as their is a @Component instance that uses such decorated variable\n     * or a sync relationship with a SubscribedAbstractProperty variable the property can nit\n     * (and also should not!) be deleted from LocalStorage.\n     *\n     * @param { string } propName\n     * @returns { boolean } false if method failed\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Delete property from StorageBase\n     * Use with caution:\n     * Before deleting a prop from LocalStorage all its subscribers need to\n     * unsubscribe from the property.\n     * This method fails and returns false if given property still has subscribers\n     * Another reason for failing is unknown property.\n     * Developer advise:\n     * Subscribers are created with see link(), see prop()\n     * and also via @LocalStorageLink and @LocalStorageProp state variable decorators.\n     * That means as long as their is a @Component instance that uses such decorated variable\n     * or a sync relationship with a SubscribedAbstractProperty variable the property can nit\n     * (and also should not!) be deleted from LocalStorage.\n     *\n     * @param { string } propName\n     * @returns { boolean } false if method failed\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Delete property from StorageBase\n     * Use with caution:\n     * Before deleting a prop from LocalStorage all its subscribers need to\n     * unsubscribe from the property.\n     * This method fails and returns false if given property still has subscribers\n     * Another reason for failing is unknown property.\n     * Developer advise:\n     * Subscribers are created with see link(), see prop()\n     * and also via @LocalStorageLink and @LocalStorageProp state variable decorators.\n     * That means as long as their is a @Component instance that uses such decorated variable\n     * or a sync relationship with a SubscribedAbstractProperty variable the property can nit\n     * (and also should not!) be deleted from LocalStorage.\n     *\n     * @param { string } propName\n     * @returns { boolean } false if method failed\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    delete(propName: string): boolean;\n    /**\n     * Delete all properties from the LocalStorage instance\n     * Precondition is that there are no subscribers.\n     * method returns false and deletes no properties if there is any property\n     * that still has subscribers\n     *\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 9\n     */\n    /**\n     * Delete all properties from the LocalStorage instance\n     * Precondition is that there are no subscribers.\n     * method returns false and deletes no properties if there is any property\n     * that still has subscribers\n     *\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Delete all properties from the LocalStorage instance\n     * Precondition is that there are no subscribers.\n     * method returns false and deletes no properties if there is any property\n     * that still has subscribers\n     *\n     * @returns { boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    clear(): boolean;\n}\n",
}
export default FILE;